h = join . fmap g . f